import {Effect} from "../../IEffectContainer";
import {ActorActionManager} from "../../../manager/ActorActionManager";

export class disu extends Effect {
    logLevel = "disu"

    apply(target: ActorActionManager) {
        super.apply(target)
        this.remove(target)
        target.changeAttackSpeed(target.data.attackSpeed*this.num[this.level-1])
    }

    //不会调用
    remove(target: ActorActionManager) {
        this.log.log(this.logLevel, `当前敌人攻速${target.data.attackSpeed*this.num[this.level-1]},原始攻击力${target.data.attackSpeed}`);
        target.changeAttackSpeed(target.data.attackSpeed)
    }
}
